package com.haibara.codesubmiteval.model.dto.user;

import jakarta.validation.constraints.NotBlank;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;

/**
 * 用户登录请求
 */
@Data
public class UserLoginRequest implements Serializable {
    @NotBlank(message = "id不能为空")
    private String id;
    @NotBlank(message = "密码不能为空")
    private String password;

    @Serial
    private static final long serialVersionUID = 1L;
}
